package cn.exrick.xboot.modules.assessment.entity;

import cn.exrick.xboot.base.XbootBaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;


/**
 * @author yck
 */
@Data
@Entity
@Table(name = "hk_assessment_score")
@TableName("hk_assessment_score")
@ApiModel(value = "考核分数表")
public class HkAssessmentScore  {

    private static final long serialVersionUID = 1L;
    @Id
    @ApiModelProperty(value = "主键")
    private String id;
    @ApiModelProperty(value = "被考核人员id")
    private String hontUserId;
    @ApiModelProperty(value = "分数")
    private  Float score;
    @ApiModelProperty(value = "流程实例id")
    private  String processInstanceId;
    @ApiModelProperty(value = "分数状态1提交，2审核完成")
    private String scoreState;
    @ApiModelProperty(value = "指标名称")
    private String indexName;
    @ApiModelProperty(value = "指标描述")
    private  String indexDescribe;
    @ApiModelProperty(value = "指标id")
    private  String indexId;
    @ApiModelProperty(value = "审核人员id")
    private String approvalUserId;

    @ApiModelProperty(value = "角色级别")
    private String roleLevel;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "指标评论")
    private  String indexComment;

    @ApiModelProperty(value = "次数")
    private  Integer indexFrequency;

    @ApiModelProperty(value = "是否为当前数据")
    private  String isCurrentAssessment;
}